//
//  PlayerInfoLayer.h
//  DiceWar
//
//  Created by xiaofeng on 27/6/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#ifndef CLASSES_GAME_GAMEPLAY_PLAYERINFOLAYER_H_
#define CLASSES_GAME_GAMEPLAY_PLAYERINFOLAYER_H_

#include "cocos2d.h"
#include "Player.h"

class PlayerInfoLayer : public cocos2d::CCLayer
{
public:
    LAYER_NODE_FUNC(PlayerInfoLayer);
    
    bool init();
    void setCurrentPlayer(PlayerType player);
    
private:
    const char* getPlayerSpritePath(PlayerType player);
    
private:
    cocos2d::CCSprite* m_pCurrentPlayerSprite;
};

#endif //CLASSES_GAME_GAMEPLAY_PLAYERINFOLAYER_H_
